Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

feat(dropdown): add optional placement and respect bootstrap classes #6358

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

farooqu
Copy link
Contributor

@farooqu farooqu commented Dec 12, 2016

Add an optional dropdown-placement attribute setting much like the
tooltips'. If it is specified then bootstrap's dropup and
dropdown-menu-right classes will be ignored. Updated positioning of the
dropdown menu to always use the position service. Ensured that dropup
and dropdown-menu-right will be respected for append-to and
append-to-body dropdowns. Updated positioning service to return the
element when looking for the offsetParent if the element is not
statically positioned.

@farooqu
Copy link
Contributor Author

farooqu commented Dec 12, 2016

Fixes #6030

@farooqu
Copy link
Contributor Author

farooqu commented Dec 12, 2016

Fixes #6323

@farooqu
Copy link
Contributor Author

farooqu commented Dec 12, 2016

Fixes #5767

@farooqu
Copy link
Contributor Author

farooqu commented Dec 12, 2016

Partially fixes: #4762

Add an optional dropdown-placement attribute setting much like the
tooltips'. If it is specified then bootstrap's dropup and
dropdown-menu-right classes will be ignored. Updated positioning of the
dropdown menu to always use the position service. Ensured that dropup
and dropdown-menu-right will be respected for append-to and
append-to-body dropdowns. Updated positioning service to return the
element when looking for the offsetParent if the element is not
statically positioned.
@wesleycho
Copy link
Contributor

This will need tests - can you add a test that it places it correctly?

@Blinnikov
Copy link

Guys, is there any progress on it?

@jordandh
Copy link

This fixes quite a few problems. Any chance this is going to be merged in soon?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants